import request from '../utils/request'

export const getArticlesList = function (channelId, timestamp) {
  return request.get('/v1_0/articles', {
    params: {
      channel_id: channelId,
      timestamp
    }
  })
}
// // 将文章设置为不感兴趣（形参 id 是文章的 id）
// export const dislikeArticleAPI = id => {
//   return request.post('/v1_0/article/dislikes', {
//     target: id
//   })
// }http://www.liulongbin.top:8000/v1_0/articles?channel_id=1&timestamp=2020
// http://www.liulongbin.top:8000/v1_0/articles?channel_Id=1&timestamp=2020
